<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>没有权限</title>
    <style>.error {
        color: red;
    }</style>
</head>
<body>
<div class="error">您没有权限[<span th:text="${exception.message}"></span>]</div>
</body>
</html>